<?php
namespace frontend\models;


use common\models\User;
use yii\db\ActiveReCord;

/**
 * Signup 
 */
class Company extends ActiveReCord
{
    public $verifyCode;
    

    public static function tableName()
    {
        return 'recruit_company';
    }
    
    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
       
            ['verifyCode', 'required','message' => '验证码不能为空'],
            ['verifyCode', 'captcha'],
         
            ['CEmail', 'email'],

            [['CEmail', 'CPassword', 'CName', 'CNo', 'CLink', 'CTelName', 'CTel', 'CPhone', 'CScale', 'CCreatTime', 'CDesc'], 'required'],

           

            ];
    }

    public function attributeLabels()
    {
        return [
            'CPassword' => '密码',
            'CEmail' => '邮箱',
            'CName' => '企业名称',
            'CNo' => '企业代号',
            'CLink' => '企业链接',
            'CTelName' => '企业负责人姓名',
            'CTel' => '企业负责人联系方式',
            'CPhone' => '企业客服',
            'CScale' => '企业规模',
            'CDesc' => '企业描述',
        ];
    }

   
}
